package com.api.shopapi.service;

import com.api.shopapi.entity.JKDanguchun;
import com.api.shopapi.entity.dto.JKDanguchunDTO;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

@Service
public interface JKDanguchunService {

    int insert(JKDanguchun jkDanguchun);

    int update(JKDanguchun jkDanguchun);

    int delete(String jkDanguchunCode);

    JKDanguchun getByJkDanguchunCode(String jkDanguchunCode);

    PageInfo<JKDanguchun> getPageList(int pageIndex,int pageSize,String userCode,String startTime,String endTime);

    PageInfo<JKDanguchunDTO> getAdmPageList(int pageIndex, int pageSize, String name, String governmentCode, String startTime, String endTime);

}
